package com.jnshu.pojo;

import lombok.Data;

@Data
public class History {
    private Long id;

    private Long userId;

    private Long courseId;

    private Integer type;

    private Long createAt;

    private Long updateAt;

    private Long createBy;

    private Long updateBy;

//    public History(Long id, Long userId, Long courseId, Integer type, Long createAt, Long updateAt, Long createBy, Long updateBy) {
//        this.id = id;
//        this.userId = userId;
//        this.courseId = courseId;
//        this.type = type;
//        this.createAt = createAt;
//        this.updateAt = updateAt;
//        this.createBy = createBy;
//        this.updateBy = updateBy;
//    }

    @Override
    public String toString() {
        return "History{" +
                "id=" + id +
                ", userId=" + userId +
                ", courseId=" + courseId +
                ", type=" + type +
                ", createAt=" + createAt +
                ", updateAt=" + updateAt +
                ", createBy=" + createBy +
                ", updateBy=" + updateBy +
                '}';
    }
}